package com.whmall.service.crm.entity.dto.company;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyAndUserApproveListReqDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long applicationId;

    /** 前端不传 */
    private Long verifyId;

    private Integer approvalType;

    private String company;

    /** 前端不传 */
    private List<Long> companyIds;

    private String user;

    /** 前端不传 */
    private List<Long> userIds;

    private Integer nodeApprovalStatus;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeEnd;
    private Long traderId;
    private String traderDepartmentPathLikeRight;

}
